package com.atguigu.gulimall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author nicc
 * @version 1.0
 * @className AuthUrlProperties
 * @date 2022-10-17 00:09
 */
@Data
@ConfigurationProperties(prefix = "app.auth")
@Component
public class AuthUrlProperties {

    //无需登录就直接放行
    private List<String> noauthurl;

    //需要登录才能访问的
    private List<String> loginauth;

    //拒绝浏览器访问的页面
    private List<String> denyurl;

    //登录页路径
    private String loginPage;
}
